home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_qt.idb / usr / freeware / include / Qt / qsemimodal.h.z / qsemimodal.h
Encoding:
C/C++ Source or Header  |  1998-10-28  |  1.5 KB  |  59 lines

  1. /****************************************************************************
  2. ** $Id: qsemimodal.h,v 2.4 1998/07/03 00:09:40 hanord Exp $
  3. **
  4. ** Definition of QSemiModal class
  5. **
  6. ** Created : 970627
  7. **
  8. ** Copyright (C) 1992-1998 Troll Tech AS.  All rights reserved.
  9. **
  10. ** This file is part of Qt Free Edition, version 1.40.
  11. **
  12. ** See the file LICENSE included in the distribution for the usage
  13. ** and distribution terms, or http://www.troll.no/free-license.html.
  14. **
  15. ** IMPORTANT NOTE: You may NOT copy this file or any part of it into
  16. ** your own programs or libraries.
  17. **
  18. ** Please see http://www.troll.no/pricing.html for information about 
  19. ** Qt Professional Edition, which is this same library but with a
  20. ** license which allows creation of commercial/proprietary software.
  21. **
  22. *****************************************************************************/
  23.  
  24. #ifndef QSEMIMODAL_H
  25. #define QSEMIMODAL_H
  26.  
  27. #ifndef QT_H
  28. #include "qwidget.h"
  29. #endif // QT_H
  30.  
  31.  
  32. class QSemiModal : public QWidget
  33. {
  34.     Q_OBJECT
  35. public:
  36.     QSemiModal( QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags f=0 );
  37.    ~QSemiModal();
  38.  
  39.     void    show();
  40.  
  41.     void    move( int x, int y );
  42.     void    move( const QPoint &p );
  43.     void    resize( int w, int h );
  44.     void    resize( const QSize & );
  45.     void    setGeometry( int x, int y, int w, int h );
  46.     void    setGeometry( const QRect & );
  47.  
  48. private:
  49.     uint    did_move   : 1;
  50.     uint    did_resize : 1;
  51.  
  52. private:    // Disabled copy constructor and operator=
  53.     QSemiModal( const QSemiModal & );
  54.     QSemiModal &operator=( const QSemiModal & );
  55. };
  56.  
  57.  
  58. #endif // QSEMIMODAL_H
  59.